package com.javase.SY05;

public class Car {
    String color, style;

    public Car() {
        this.color = "红色";
        this.style = "轿车";
    }

    public Car(String color, String style) {
        this.color = color;
        this.style = style;
    }

    public void showCol(){
        System.out.println("颜色："+color);
    }

    public void showSty(){
        System.out.println("样式：" + style);
    }
}
